import { Controller, Get } from '@nestjs/common';
import { UploadService } from './upload.service';

@Controller('upload')
export class UploadController {
  constructor(private readonly uploadService: UploadService) {}

  @Get('credentials')
  async getHello() {
    return await this.uploadService.generateTemporaryCredentials();
  }
}
